<div class="form-group">
    <label>合格证号</label>
    <input
        #zhiKongKaInput="ngModel"
        class="form-control"
        type="text"
        name="hgzNo"
        [ngClass]="{ edited: batch.certificateId }"
        [(ngModel)]="batch.certificateId"
        required
    />
</div>
<div class="form-group form-md-line-input form-md-floating-label no-hint">
    <label>录入合格证数量: </label>
    <input
        class="form-control"
        name="certificateQuantity"
        type="number"
        min="1"
        [ngClass]="{ edited: batch.certificateQuantity }"
        [(ngModel)]="batch.certificateQuantity"
        required
    />
</div>


<div class="row">
    <div class="col-lg-12">
        <button
            type="button"
            class="btn btn-sm btn-success float-right"
            (click)="save()"
            [buttonBusy]="saving"
            [busyText]="'记录中...'"
        >
            <i class="fa fa-check-circle"></i>
            <span>记录合格证</span>
        </button>
    </div>
</div>
